package com.easygoods.response;


import com.easygoods.enums.AvatarType;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhq
 * @date 2019/1/15
 */
@Data
public class MemberInfoResponse {
    private String id;
    private String nickName;
    private AvatarType avatarType;
    private String avatar;
    private Date registerTime;

    private BigDecimal totalNormalCoupon;
    private BigDecimal totalInviteCoupon;
    private BigDecimal totalTeamCoupon;
    private BigDecimal totalEarnCash;
    private BigDecimal totalInviteFirstCash;
    private BigDecimal totalInviteManyCash;
    private BigDecimal totalTeamCash;
    private BigDecimal remainCash;//用户余额
    //
    private int grade;//当前等级 从 0 开始
    private String gradeName;//当前等级名称
    private int nextGrade;//下一个等级 从 0 开始
    private String nextGradeName;//下一个等级名称
    private int point;//当前积分
    private Integer pointUpper;//升级积分
    private Integer pointLower;//当前等级积分门槛
    private BigDecimal inviteUnsettledCash;//已购买未结算商品的激励，待收益
}
